//
//  FtHomeBanner.m
//  Feast
//
//  Created by 胡光健 on 2017/8/25.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "FtHomeBanner.h"

@implementation FtHomeBanner

-(instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self = [[NSBundle mainBundle]loadNibNamed:@"FtHomeBanner" owner:self options:nil].firstObject;
        self.frame = frame;
    }
    return self;
}

// 订单按钮
- (IBAction)orderBtn:(UIButton *)sender {
    
    if (self.allOderBlock) {
        self.allOderBlock(sender);
    }
}

@end
